<?php
include_once('common/header.php');	
if($AppUI->id <= 0) {
	$this->_redirect(HOST_VFRIEND);
}
$objCommon 		= new Vfriend_Common();
$objVfriendUser	= new Vfriend_User();
$this->view->arrOther	= $objCommon->getPreference(QUESTION_ID_OTHER);
$this->view->arrMovie	= $objCommon->getPreference(QUESTION_ID_MOVIE);
$this->view->arrMusic	= $objCommon->getPreference(QUESTION_ID_MUSIC);
$this->view->arrSport	= $objCommon->getPreference(QUESTION_ID_SPORT);

$this->view->arrUpOther	= $objVfriendUser->getUPreference($AppUI->id,QUESTION_ID_OTHER);
$this->view->arrUpMovie	= $objVfriendUser->getUPreference($AppUI->id,QUESTION_ID_MOVIE);
$this->view->arrUpMusic	= $objVfriendUser->getUPreference($AppUI->id,QUESTION_ID_MUSIC);
$this->view->arrUpSport	= $objVfriendUser->getUPreference($AppUI->id,QUESTION_ID_SPORT);
?>